<script type="text/javascript"  src="<?php echo $this->site['base_url']?>plugins/galleryview/js/banner/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo $this->site['base_url']?>plugins/galleryview/js/banner/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="<?php echo $this->site['base_url']?>plugins/galleryview/js/banner/jquery.galleryview-1.1.js"></script>
<script type="text/javascript" src="<?php echo $this->site['base_url']?>plugins/galleryview/js/banner/jquery.timers-1.1.2.js"></script>
<link type="text/css" rel="stylesheet" href="<?php echo $this->site['base_url']?>plugins/galleryview/js/banner/galleryview.css"/>

<script type="text/javascript">
	$(document).ready(function(){
		$('#photos').galleryView({
			panel_width: 416,
			panel_height: 283,
			frame_width: 85,
			frame_height: 80
		});
	});
</script>
<table class="corner" width="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
     <td colspan="4"><img src="<?php echo $this->site['theme_url']?>index/pics/corner_header.gif"  width="1019px"/></td>
   </tr>
   <tr>
   	 <td class="left" style="width:18px" >&nbsp;</td>
     <td  style="width:254px" valign="top"><?php echo $mlist['corner_content'];?>&nbsp;</td>
     <td  class="center" style="width:65px">&nbsp;</td>
     <td  style="width:597px" align="center" >
	<div id="photos" class="galleryview">
	<?php foreach($mlistimage as $list){
		if(!empty($list['corner_image']) && file_exists('uploads/corner/'.$list['corner_image'])){
		?>
                    <div class="panel">
                    
                   <img src="<?php echo $this->site['base_url']?>uploads/corner/<?php echo $list['corner_image']?>" width="400px">                    </div>
       <?php } }?>      
	   <ul class="filmstrip">
			<?php foreach($mlistimage as $list){
				if(!empty($list['corner_image']) && file_exists('uploads/corner/'.$list['corner_image'])){
				?>
                <li style="text-align:center"><img src="<?php echo $this->site['base_url']?>uploads/corner/<?php echo $list['corner_image']?>" width="85px"></li>
       <?php 
				}
	   }?> 
            </ul> 
            
	   </div>
       <div>
       <?php foreach($cornerlist as $listcorner){?>
       <a href="<?php echo $this->site['base_url']?>detail/detail/<?php echo $listcorner['corner_type']?>/<?php echo $listcorner['corner_id']?>"><?php echo $listcorner['corner_title']?></a>&nbsp;
       <?php } ?>
       </div>	 </td>
   </tr>
    <tr>
     <td colspan="4"><img src="<?php echo $this->site['theme_url']?>index/pics/corner_footer.gif" /></td>
   </tr>
</table>
